﻿<AVUIExtension:TransitioningPage
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:AVUIExtension="clr-namespace:AVUIExtension;assembly=TransitioningWindow"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2006" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" xmlns:NetrekUI="clr-namespace:NetrekUI"
	x:Name="Page"
	WindowTitle="Page"
	FlowDirection="LeftToRight"
	MinWidth="800" MinHeight="600" TransitionInDelay="00:00:02.5000000" TransitionOutDelay="00:00:01.5000000">

	<AVUIExtension:TransitioningPage.Resources>
		<Storyboard x:Key="OnTransitionIn1">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="(UIElement.Opacity)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
				<SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="OnTransitionOut1">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="(UIElement.Opacity)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
				<SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
	</AVUIExtension:TransitioningPage.Resources>
	<AVUIExtension:TransitioningPage.Triggers>
		<EventTrigger RoutedEvent="AVUIExtension:TransitioningPage.TransitionIn">
			<BeginStoryboard Storyboard="{StaticResource OnTransitionIn1}"/>
		</EventTrigger>
		<EventTrigger RoutedEvent="AVUIExtension:TransitioningPage.TransitionOut">
			<BeginStoryboard x:Name="OnTransitionOut1_BeginStoryboard" Storyboard="{StaticResource OnTransitionOut1}"/>
		</EventTrigger>
	</AVUIExtension:TransitioningPage.Triggers>
	<Grid Background="#55000000" x:Name="LayoutRoot">

		<Border Width="400" Height="298" BorderBrush="#FFCE9925" BorderThickness="5,5,5,5" CornerRadius="10,10,10,10" Background="#FF000000">

			<Grid Margin="10,10,10,10" MaxHeight="300" MaxWidth="400" Height="298">
				<StackPanel Margin="-12,0,-20,39" VerticalAlignment="Bottom" Height="43" Orientation="Horizontal" d:LayoutOverrides="Width" HorizontalAlignment="Center">
					<Button x:Name="OkButton" Width="191" Height="43" Content="OK" Visibility="Visible" Margin="0,0,10,0" FontFamily="Swiss911 XCm BT" FontSize="24"/>
					<Button Height="43" Content="Cancel" x:Name="CancelButton" Width="191" Margin="10,0,0,0" FontFamily="Swiss911 XCm BT" FontSize="24"/>
				</StackPanel>
				<TextBlock Text="TextBlock" TextWrapping="Wrap" VerticalAlignment="Center" Height="118" x:Name="NotifyText" FontFamily="Swiss911 XCm BT" FontSize="24" Foreground="#FFFDAF05" HorizontalAlignment="Center"/>
			</Grid>
		</Border>
	</Grid>
</AVUIExtension:TransitioningPage>